package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.AdminPermissionGroup;


import cn.jobstart.enums.AdminPermissionGroupShowFlagEnum;
import cn.jobstart.enums.AdminPermissionGroupDelFlagEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:51
*    @description AdminPermissionGroupDesc      员工权限组
*/
@Data
public class AdminPermissionGroupDesc extends AdminPermissionGroup {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=AdminPermissionGroupShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=AdminPermissionGroupDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

